public class Car {
    public void drive(){
        System.out.println("汽车正在行驶");
    }
    public void horn(){
        System.out.println("汽车按喇叭");
    }

    public static void main(String[] args) {
        Car car = new Car();
        car.drive();
        car.horn();
    }

}
